<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><{:C('ADMIN_WEB_NAME')}>-首页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="__LAYUI_ADMIN_STATIC__/css/layui.css" media="all">
    <link rel="stylesheet" href="__LAYUI_ADMIN_STATIC__/css/global.css" media="all">
    <link rel="stylesheet" href="__LAYUI_ADMIN_STATIC__/css/font-awesome.min.css">
    <link rel="stylesheet" href="__LAYUI_ADMIN_STATIC__/css/modules/layer/default/layer.css" media="all">
    <link rel="stylesheet" href="__JAVASCRIPT__/common/nprogress/nprogress.css">
    <link rel="stylesheet" href="__JAVASCRIPT__/common/ztree/zTreeStyle/zTreeStyle.css">
    <script src="__JAVASCRIPT__/common/nprogress/nprogress.js"></script>
    <style>
        body {
            min-width: 580px;
            overflow-y: hidden;
        }

        .admin-login-box {
            display: inline-block;
            width: auto;
            height: 60px;
            overflow: hidden;
            margin-left: 32px;
        }

        .header-demo .layui-nav .layui-nav-item {
            line-height: 60px;
        }

        .header-demo .layui-nav .layui-this:after, .header-demo .layui-nav-bar {
            display: none;
        }

        .admin-header-user .layui-nav-more {
            top: 28px;
        }

        .admin-header-user .layui-nav-mored {
            top: 20px;
        }

        .admin-nav-card > .layui-tab-title .layui-this {
            color: white;
            background-color: #277CA7;
        }

        .layui-nav .layui-this:after, .layui-nav-bar {
            background: #F17E30 !important;
        }

        .layui-tab-brief > .layui-tab-more li.layui-this:after, .layui-tab-brief > .layui-tab-title .layui-this:after {
            border-bottom: 5px solid #fd7e2a;
        }

        .layui-tab-title li {
            color: #000000;

        }

        .layui-tab-brief > .layui-tab-title .layui-this {
            color: #fd7e2a;
        }

        .layui-table tr th, .layui-table tr td {
            text-align: center;
        }

        .layui-table tr td:last-child {
            color: #4988BE;
            cursor: pointer;
        }

        .layui-nav-tree .layui-nav-item a:hover, .layui-nav-tree .layui-this > a {
            background-color: #0A6A9B;
        }

        .layui-nav-itemed > a, .layui-nav-tree .layui-nav-title a, .layui-nav-tree .layui-nav-title a:hover {
            background-color: #0F628E !important;
        }

        .layui-nav-tree .layui-nav-item a {
            height: 40px;
        }

        .layui-nav-tree .layui-nav-item {
            line-height: 40px;
        }

        .layui-tab-title .layui-this:after {
            border-radius: 0;
        }

        .layui-tab-card > .layui-tab-title .layui-this {
            border: none;
            background-color: #038FD8;
            color: #fff;
        }

        .layui-tab-title li .layui-tab-close:hover {
            background: #FD7E2C;
        }

        .admin-nav-card > .layui-tab-title {
            border-bottom: 1px solid #038FD8;
        }

        .layui-nav-tree .layui-nav-more {
            border-color: #fff transparent transparent;
        }

        .layui-nav-tree .layui-nav-mored, .layui-nav-itemed .layui-nav-more {
            border-color: transparent transparent #fff;
        }

        .contain-title li {
            height: 32px;
            line-height: 32px;
        }

        .admin-nav-card > .layui-tab-title .layui-this:after {
            height: 31px;
        }

        .layui-tab-card > .contain-title .layui-tab-bar {
            height: 30px;
            line-height: 30px;
            border: 1px solid #c2c2c2;
        }

        .layui-nav-tree .layui-nav-child a {
            color: #fff;
        }

        .layui-nav-tree .layui-nav-child, .layui-nav-tree .layui-nav-child a:hover {
            color: #c2c2c2;
        }

        @media screen and (max-width: 750px) {
            .layui-layout-admin .layui-side {
                top: 0 !important;
            }
        }

        .layui-body {
            overflow-y: hidden;
        }

    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header header-demo" style="height:90px;border-bottom: 5px solid #038FD8;">
        <!--头部-->
        <div class="layui-main" style="margin:0;height: 59px;border-bottom: 1px solid #FD7E2C;">
            <a href="javascript:;" class="admin-login-box">
                <img src="__LAYUI_ADMIN_STATIC__/images/logo-ht.png" alt=""
                     style="display: inline-block;float: left;margin-top: -25px;">
                <span style="display: block;float: left;line-height: 60px;margin-left: 10px;font-size: 18px;font-weight: bold;"><{:C('ADMIN_WEB_NAME')}></span>
            </a>
            <ul class="layui-nav" style="margin-right: 32px;">
                <li class="layui-nav-item" style="margin: 0;">
                    <a href="javascript:;" class="admin-header-user" style="font-size: 12px;color: #828080;">
                        <span><{$account}></span>
                    </a>
                </li>
                <li class="layui-nav-item" style="margin: 0;">
                    <a href="./?_m=/admin/page/logout" style="font-size: 12px;color: #828080;">退出</a>
                </li>
            </ul>
        </div>

        <!--tab切换-->
        <div id="main_top_tab" data-index="<{$menus.index_view}>" class="layui-tab layui-tab-card" style="margin:0; border: none;border-radius: 0;box-shadow: none;">
            <ul class="layui-tab-title" style="border-bottom:none;height: 30px;background: #fff;" >
                <foreach name="menus.menus" item="menu" key="i">
                    <li class="<if condition='$i == 0'>layui-this</if>" style="line-height: 30px;"><{$menu.title}></li>
                </foreach>
            </ul>
        </div>
    </div>
    <!--左侧-->
    <div class="layui-side layui-bg-black" id="admin-side" style="top:95px;background: #038FD8;">
        <div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side">
            <foreach name="menus.menus" item="menu" key="i">
                <ul data-title="<{$menu.title}>" class="layui-nav layui-nav-tree admin-nav-tree left-top-nav" style="background: #038FD8;<if condition='$i !==0'>display: none;</if>">
                    <foreach name="menu.nav_menu" item="nav_item" key="i">
                        <li class="layui-nav-item">
                            <a href="javascript:;" style="color: #fff;"><{$nav_item.title}></a>
                            <foreach name="nav_item.third_menu" item="third" key="i">
                                <dl class="layui-nav-child">
                                    <dd>
                                        <a href="javascript:;" data-url="<{$third.view}>">
                                            <cite><{$third.title}></cite>
                                        </a>
                                    </dd>
                                </dl>
                            </foreach>
                        </li>
                    </foreach>
                </ul>
            </foreach>
        </div>
    </div>
    <!--右侧内容-->
    <div class="layui-body" style="top:95px;bottom: 0;" id="admin-body">
        <div class="layui-tab layui-tab-card admin-nav-card" lay-filter="admin-tab" style="border-radius: 0;">
            <ul class="layui-tab-title contain-title" id="admin-tab" style="background: #FFF;color: #000;height: auto;">
                <li class="layui-this" style="height: 32px;">
                    <cite>首页</cite>
                </li>
            </ul>
            <div class="layui-tab-content" style="min-height: 150px;overflow: hidden;overflow-y: auto;"
                 id="admin-tab-container">
                <div id="home_page" class="layui-tab-item layui-show">

                </div>
            </div>
        </div>
    </div>

    <!--屏幕小的时候  遮罩-->
    <div class="site-tree-mobile layui-hide">
        <i class="layui-icon"></i>
    </div>
    <div class="site-mobile-shade"></div>
</div>

<script src="__JAVASCRIPT__/common/jquery/jquery.min.js"></script>
<script src="__JAVASCRIPT__/common/ztree/jquery.ztree.all.min.js"></script>
<script src="__JAVASCRIPT__/common/arttemplate/template.js"></script>
<script src="__LAYUI_ADMIN_STATIC__/layui.js"></script>

<script>
    layui.config({
        base: '__JAVASCRIPT__/webapp/admin/', //你的模块目录
        debug:true
    }).extend({
        commonUtil:'../share/commonUtil',
        logUtil:'../share/logUtil',
        validationUtil:'../share/validationUtil',
        ajaxUtil:'../share/ajaxUtil'
    }).use('admin'); //加载入口
</script>
</body>
</html>